package conson.tech.manage.coupons.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * InterfaceName: UserCouponListDto
 * Description: 获取用户我的优惠券入参实体
 * Author: XYF
 * Date: 2020/7/25 11:15
 * Version: 1.0
 */
@Data
public class UserCouponListDto {

    /**
     * 优惠券券状态
     */
    @ApiModelProperty(value = "优惠券券状态（0有效、1已使用、2已过期、3已作废,4已锁定）")
    private List<Integer> state;
    /**
     *  商户id usingID
     */
    @ApiModelProperty(value = "优惠券适用场景或商户")
    private List<String> usingId;

    /**
     * 每页条数
     */
    @ApiModelProperty(value = "每页条数")
    @NotNull(message = "每页条数不能为空")
    private Integer pageSize;
    /**
     * 页码
     */
    @ApiModelProperty(value = "页码")
    @NotNull(message = "页码不能为空")
    private Integer pageIndex;

}
